package com.dana1.nos.collections;

import java.io.Serializable;
import java.util.AbstractCollection;
import java.util.Iterator;

/**
 * A collection of objects which transparently synchronizes to an underlying storage mechanism.
 * @author Dana
 *
 * @param <E>
 */
public class TransparentCollection<E extends Serializable> extends AbstractCollection<E> {

	@Override
	public Iterator<E> iterator() {
		return new Iterator<E>() {
			@Override
			public boolean hasNext() {
				// TODO Auto-generated method stub
				return false;
			}

			@Override
			public E next() {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public void remove() {
				// TODO Auto-generated method stub
				
			}
		};
	}

	@Override
	public int size() {
		// TODO Auto-generated method stub
		return 0;
	}

	public boolean add(E e) {
		return false;
	};
	
	@Override
	public boolean remove(Object o) {
		// TODO Auto-generated method stub
		return super.remove(o);
	}
}
